Skip to content

Stats: Implement rules stats#985

Merged
kwzrd merged 2 commits into
python-discord:masterfrom
ks129:rules-stats
Jun 6, 2020
Merged

Stats: Implement rules stats#985
kwzrd merged 2 commits into
python-discord:masterfrom
ks129:rules-stats

Conversation

@ks129
Copy link
Copy Markdown
Contributor

@ks129 ks129 commented Jun 5, 2020

Approved in #meta following this conversation

Adds a new statistic measuring the number of times a rule is fetched using the !rules|site rules <rules...> command.

Increase every shown rule uses count when command called.
@ks129 ks129 requested a review from a team as a code owner June 5, 2020 13:17
@ks129 ks129 requested review from MarkKoz and aeros and removed request for a team June 5, 2020 13:17
@jb3
Copy link
Copy Markdown
Member

jb3 commented Jun 5, 2020

@ks129 PR looks good, but can you edit the body to be a bit more descriptive?

@ks129
Copy link
Copy Markdown
Contributor Author

ks129 commented Jun 5, 2020

@J03B Is now description better?

@jb3
Copy link
Copy Markdown
Member

jb3 commented Jun 5, 2020

I've made a couple of adjustments, but yeah, that's better. PR body clarity is quite important for searching down the line & understanding full reasoning behind a change.

@kwzrd kwzrd added p: 2 - normal Normal Priority status: needs review t: feature New feature or request a: stats Related to the collection of statistics labels Jun 5, 2020
Copy link
Copy Markdown
Contributor

@kwzrd kwzrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, happy to approve.

@kwzrd
Copy link
Copy Markdown
Contributor

kwzrd commented Jun 6, 2020

I agree with joe, by the way: the more relevant information you put into the PR description, the easier it'll be for us to review.

@kwzrd kwzrd merged commit e03cb2b into python-discord:master Jun 6, 2020
@ks129 ks129 deleted the rules-stats branch June 6, 2020 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: stats Related to the collection of statistics p: 2 - normal Normal Priority t: feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants